package com.htc.dp.filter;

/**
 * @author: htc
 * @date: Created in 17:38 2018/6/7.
 */
public class SensitiveFilter implements Filter {
    @Override
    public void doFilter(Request request, Response response, FilterChain chain) {
        request.setRequestStr(request.getRequestStr().replace("被就业", "就业").replace("敏感", "") + "--->SesitiveFilter()");
       chain.doFilter(request, response, chain);
        response.setResponseStr( "---SesitiveFilter()");
    }
}
